package org.squabble.web;

import java.io.Serializable;

import org.springmodules.validation.bean.conf.loader.annotation.handler.NotBlank;
import org.springmodules.validation.bean.conf.loader.annotation.handler.ValidatorRef;

@ValidatorRef("passwordChangeValidator")
public class AbstractPasswordRequiredCommand implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4732493330314765753L;

	private Long accountId;

	@NotBlank
	private String currentPassword;

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public String getCurrentPassword() {
		return currentPassword;
	}

	public void setCurrentPassword(String currentPassword) {
		this.currentPassword = currentPassword;
	}

}
